ALTER procedure dbo.WORK_FORM_NEW
		@N_TYPE			INT,
		@N_IN_TYPE		INT,
		@N_STATION_ID	INT,
		@S_ACCOUNT		VARCHAR(30),
		@S_DK			VARCHAR(1),
		@S_NAME			VARCHAR(30),
		@S_TEL			VARCHAR(20),
		@S_ADDRESS_TYPE VARCHAR(1),
		@N_AREA_ID		INT,
		@S_ADDRESS		VARCHAR(200),
		@N_PORT			INT,
		@N_IN_AREA		INT,
		@S_ORG_ACCOUNT	INT,
		@N_OPER_ID		INT,
		@N_ONU_ID		INT,
		@N_ONU_PORT		INT OUTPUT,
		@N_ERROR_CODE	INT OUTPUT,
		@S_ERROR_INFO	VARCHAR(255) OUTPUT
as
begin TRANSACTION
	begin try
		insert into dbo.WF_WLAN(N_TYPE,N_IN_TYPE,N_STATION_ID,S_ACCOUNT,S_DK,S_NAME,S_TEL,S_ADDRESS_TYPE,N_AREA_ID,S_ADDRESS,N_PORT,N_IN_AREA,S_ORG_ACCOUNT,S_STATE,N_OPER_ID,D_DATE)
		values (@N_TYPE,@N_IN_TYPE,@N_STATION_ID,@S_ACCOUNT,@S_DK,@S_NAME,@S_TEL,@S_ADDRESS_TYPE,@N_AREA_ID,@S_ADDRESS,-1,@N_IN_AREA,null,'1',@N_OPER_ID,GETDATE());		
		
		if @N_TYPE==1
		
	end try
	begin catch
		rollback TRANSACTION
		return
	end catch
		COMMIT TRANSACTION
		